from flask import Flask, jsonify

app = Flask(__name__)


@app.route('/')
def index():
    dic = {
        'name':'lisi',
        'age':11
    }
    return jsonify(dic)


if __name__ == '__main__':
    app.run()